package be.hikage.sfeir.sid.cdiwebapp;

import javax.enterprise.context.SessionScoped;
import javax.enterprise.inject.Model;
import javax.inject.Named;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author Gildas Cuisinier (hikage@hikage.be)
 *         User: hikage
 *         Date: 20/03/11
 */
@Model
public class Menu implements Serializable{

    public List<MenuItem> getItems(){

        List items = new ArrayList();

        items.add(new MenuItem("Liens 1", "page1.jsf"));
        items.add(new MenuItem("Liens 2", "page2.jsf"));

        return items;

    }

}
